package com.lwq.designpattern.structuralPatterns.decoratorPattern;

import com.lwq.designpattern.structuralPatterns.facadePattern.Shape;

/**
 * @author liwq
 * @description
 * @date 2021/12/2 21:58
 */
public abstract class CarDecorator implements Car {
    protected Car decoratorCar;

    public CarDecorator(Car decoratorCar) {
        this.decoratorCar = decoratorCar;
    }

    public void run() {
        decoratorCar.run();
    }
}
